package com.weng.platform.stories.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weng.framework.core.exception.GlobalServiceException;
import com.weng.framework.core.model.ResponseData;
import com.weng.platform.stories.entity.Note;
import com.weng.platform.stories.model.req.StudyNoteReq;


/**
 * 学员学习笔记 服务接口
 *
 * @author wenghui
 * @date 2020-08-01 14:33:53
 *
 */  
public interface INoteService extends IService<Note> {
    
	/**
	 * 新建单个
	 */
	public Note add(Note note) throws GlobalServiceException;


	/**
	 * 更新
	 */
	public int update(Note note) throws GlobalServiceException;

	
	/**
	 * 删除
	 */
	public ResponseData removeByIds(String ids);

	/**
	 *  列表查询base
	 *  <p>
	 *      自定义列表查询：需实现定制化业务，组合查询，多分页查询等
	 */
	IPage<Note> list(Integer pageNo, Integer pageSize, StudyNoteReq studyNoteReq);

}
